import 'package:json_annotation/json_annotation.dart';
part 'user_center_api.g.dart';

@JsonSerializable()
class ResponseUserCenterApi {
  final int followTotal;
  final int fansTotal;
  final int topicTotal;
  final bool? isFollow;

  factory ResponseUserCenterApi.fromJson(Map<String, dynamic> json) =>
      _$ResponseUserCenterApiFromJson(json);

  ResponseUserCenterApi({
    required this.followTotal,
    required this.fansTotal,
    required this.topicTotal,
    this.isFollow,
  });
}
